/*
 * XPathExpression.java
 *
 * Created on September 7, 2006, 1:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.smallx.xpath;

import java.util.Iterator;
import org.infoset.xml.Item;
import org.infoset.xml.XMLException;

/**
 *
 * @author alex
 */
public interface XPathExpression {
   Iterator<? extends Item> eval(Item context)
      throws XMLException;
}
